/* 
 * File:   addListDialog.h
 * Author: Nicolas Proust & Pierre-Antoine Jahan
 *
 * Created on 29 janvier 2013, 15:18
 */

#ifndef _ADDLISTDIALOG_H
#define	_ADDLISTDIALOG_H

#include "ui_addListDialog.h"
#include "accueil.h"
#include "modele/ListOfTask.h"
#include "modele/User.h"

class addListDialog : public QDialog {
    Q_OBJECT
public:
    addListDialog(accueil* parent, QDate, User utilisateur);
    addListDialog(accueil* parent, User utilisateur, string temp);
    addListDialog(accueil* parent, ListOfTask* list, User utilisateur);
    virtual ~addListDialog();
    
public slots :
    void addListListener();
    void modifyListListener();
    void buttonValidListener();
private:
    Ui::addListDialog widget;
    accueil *parent_;
    ListOfTask *list_;
    User utilisateur_;
};

#endif	/* _ADDLISTDIALOG_H */
